/**
 * 
 */
package com.the9tcat.funnyalarmclock.oauth;

/**
 * @author jianhpin
 *
 */
public class OauthException extends RuntimeException {
    
    private String message = "";

    /**
     * 
     */
    private static final long serialVersionUID = 1L;

    public OauthException(String message) {
        this.message = "Oauth Exception: " + message;
    }
    
    @Override
    public void printStackTrace() {
        System.err.println(message);
    }

    @Override
    public String toString() {
        return message;
    }
    
    @Override
    public String getMessage() {
        return message;
    }
}
